package com.gs.wzmanager.dao.mapper;


import com.gs.wzmanager.bo.Threshold;
import com.gs.wzmanager.entity.ForeThreshold;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/9/21 0021
 */
@Repository
public interface ForeThresholdMapper {
    /*
    根据灾害预测名字查询阈值
     */

    List<ForeThreshold> queryForeThresholdByStationName(@Param("stationName") String stationName);


    void addForeThreshold(ForeThreshold foreThreshold);

    void deleteForeThreshold(@Param("id")int id);

    void updateForeThreshold(ForeThreshold foreThreshold);

    List<Threshold> queryThreshold();
}
